import { createRouter, createWebHashHistory } from "vue-router";
// import MemberLogin from "@/pages/MemberLogin.vue"

const route = [
    {
        name: 'GameHome',
        path: '/',
        component: () => import('../pages/GameHome.vue')
    },
    {
        name: 'Login',
        path: '/login',
        component: () => import('../pages/MemberLogin.vue')
    },
    {
        name: 'GameDetail',
        path: '/gameDetail',
        component: () => import('../pages/GameDetail.vue')
    },
    
]

const router = createRouter({
    history: createWebHashHistory(),
    routes: route
})

export default router